/*
 * @Des: 流程中心路由
 * @Author: jin_yc
 * @Date: 2019-11-12 15:21:34
 * @LastEditor: jin_yc
 * @LastEditTime: 2021-09-07 16:33:05
 */

// import FormManage from "./FormManage/index"
// import TestForm from "./TestForm/index"


// 表单弹窗组件
import { router } from '@/modules/FormCenter/commonFormRoute'

const route =
{
  path: "/flowCenter",
  name: "flowCenter",
  component: () => import('./index.vue'),
  title: "FC",
  icon: "form",
  children: [
    {
      path: "userTask",
      name: "userTask",
      title: "FC_TASKTODO",
      component: () => import('./UserTask/index.vue'),
      children: router('/flowCenter/userTask')

    },
    {
      path: "myTask",
      name: "myTask",
      title: "FC_FLOWTRACK",
      component: () => import('./MyTask/index.vue'),
      children: router('/flowCenter/myTask')
    },
    {
      path: "relTask",
      name: "relTask",
      title: "FC_FORMSEARCH",
      component: () => import('./RelTask/index.vue'),
      children: router('/flowCenter/relTask')
    },
    {
      path: "circulation",
      name: "circulation",
      title: "FC_CC",
      component: () => import('./Circulation/index.vue'),
      children: router('/flowCenter/circulation')
    }
  ]
}

export default route